package com.shangma.service.impl;

import com.shangma.entity.Employee;
import com.shangma.mapper.EmployeeMapper;
import com.shangma.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: EmployeeServiceImpl
 * @description:
 * @date:2021/12/22 17:14
 */
@Service
public class EmployeeServiceImpl implements EmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper;
    @Override
    public List<Employee> findAll() {
        return employeeMapper.selectByExample(null);
    }
}
